package cn.bluethink.zentao.model;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @title 禅道任务统计结果
 * @Copyright 苏州中科蓝迪公司所有(c)2016-2021
 * @version 0.1
 *
 * @note 修订历史： （1）liuxn于2018年11月21日构建初始版本0.1
 */
public class ZtStatistics {

	/**
	 * 禅道用户Id
	 */
	private Integer uid;

	/**
	 * 禅道用户名
	 */
	private String uname;

	/**
	 * 固定工时
	 */
	private Double fixed = 40.0;

	/**
	 * 预计总工时
	 */
	private Double estimated;

	/**
	 * 消耗总工时
	 */
	private Double depletion;

	/**
	 * 任务总个数
	 */
	private Double count;

	/**
	 * 已完成任务总个数
	 */
	private Double donecount;

	/**
	 * 延误任务总个数
	 */
	private Double delaycount;

	/**
	 * 任务完成率 禅道任务完成率 任务完成个数/任务总个数 eguan+任务完成率
	 */
	private String finishRate;

	/**
	 * 任务延误率 禅道任务延误率 任务延误个数/任务总个数 eguan+任务延误率
	 */
	private String delayRate;

	/**
	 * 工作负荷 禅道任务工作负荷 = 任务预计总工时/固定工时
	 */
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String workload = null;

	/**
	 * 任务消耗比 禅道任务消耗比 = 任务消耗总工时/预计总工时
	 */
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String depletionRate = null;

	/**
	 * 任务饱满度 禅道任务饱满度 = 任务消耗总工时/固定工时
	 */
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String plumpness = null;
	
 
	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public Double getFixed() {
		return fixed;
	}

	public void setFixed(Double fixed) {
		this.fixed = fixed;
	}

	public Double getEstimated() {
		return estimated;
	}

	public void setEstimated(Double estimated) {
		this.estimated = estimated;
	}

	public Double getDepletion() {
		return depletion;
	}

	public void setDepletion(Double depletion) {
		this.depletion = depletion;
	}

	public String getFinishRate() {

		return finishRate;
	}

	public void setFinishRate(String finishRate) {
		this.finishRate = finishRate;
	}

	public String getDelayRate() { // 任务延误率

		return delayRate;
	}

	public void setDelayRate(String delayRate) {
		this.delayRate = delayRate;
	}

	public String getWorkload() {

		return workload;
	}

	public void setWorkload(String workload) {
		this.workload = workload;
	}

	public String getDepletionRate() {// 消耗比
		return depletionRate;

	}

	public void setDepletionRate(String depletionRate) {
		this.depletionRate = depletionRate;
	}

	public String getPlumpness() {
		return plumpness;
	}

	public void setPlumpness(String plumpness) {
		this.plumpness = plumpness;
	}

	public Double getCount() {
		return count;
	}

	public void setCount(Double count) {
		this.count = count;
	}

	public Double getDonecount() {
		return donecount;
	}

	public void setDonecount(Double donecount) {
		this.donecount = donecount;
	}

	public Double getDelaycount() {
		return delaycount;
	}

	public void setDelaycount(Double delaycount) {
		this.delaycount = delaycount;
	}

	 
	

}
